<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>行程 - 爽客网</title>
<%@include file="../common/js.jsp" %>
<%@include file="../common/jspcommon.jsp" %>
<%@include file="../common/css.jsp" %>
<link href="../../css/mainpage.css" type="text/css" rel="stylesheet" />
<script src="js/jquery.ying.js" type="text/javascript"></script>
<!--[if ie]><script src="../../js/common/iepng.js" type="text/javascript"></script><![endif]-->
<!--[if ie 6]><link href="../../css/jrIE6.css" type="text/css" rel="stylesheet"><![endif]-->
<!--[if ie]><link href="../../css/jrIE.css" type="text/css" rel="stylesheet"><![endif]-->
</head>

<body>
	<!-- head -->
    <%@include file="../common/header.jsp" %>
    <!-- head--end -->
    
    <!-- content-->
    <div class="w100p">
        
       	<div class="w980 mg box_style1">
        	<div class="create_trip">
            	<div class="trip_info">
                	什么是“我行由我爽贵阳”？<br />
					根据个人喜好量身定制贵阳指南，让丰富的活动体验与迷人的<br />
					旅游景点，带您尽情领略贵阳的城市魅力
                </div>
                        <a href="#" class="trip_btn"  onclick="myTrip();">创建行程</a>
            </div>
        </div>
        
        <!-- content-->
        <div class="w980 mg box_style1">
        	<div class="clearfix journey">
            	<h1 class="total_title">旅游项目</h1>
            	<!-- left-->
            	<div class="t_leftbox">
                	<!-- left-part-one-->
                	<div class="gradient_sbox mb5">
                        <div class="gra_head">
                            <h1 class="clearfix pr">
                                <img src="../../images/icon/icon_xclb.gif" class="fl block"/><span class="fl">行程列表</span>
                                <a href="#" class="more">more</a>
                            </h1>
                        </div>
                        <div class="gra_body">
                        	<div class="mg_line mg_style1">
                                <ul class="pt_box">
                                <c:forEach items="${tripList}" var="trip1">
                                    <li>
                                        <a href="#" class="fl"><img src="${trip1.picture2}" class="block" width="80px;" height="56px;"/></a>
                                        <div class="r_box">
                                        <c:choose>
                                        	<c:when test="${trip.id==trip1.tblId}">
                                           	 <a href="javascript:void(0);" class="name xc_now" onclick="tripV('${trip1.tblId}');">${trip1.tripTitle}</a>
                                            </c:when>
                                            <c:otherwise><a href="javascript:void(0);" class="name" onclick="tripV('${trip1.tblId}');">${trip1.tripTitle}</a></c:otherwise>
                                        </c:choose>
                                            <div class="else_box">
                                            	<span class="fr">${trip1.startDate}</span>
                                            	<span class="author">${trip1.author}</span>
                                            </div>
                                        </div>
                                    </li>
                               </c:forEach>
                                </ul>
                        	</div>
                        </div>
                        <div class="gra_foot"></div>
                	</div>
                    <!-- left-part-one--end-->	

                    <!-- left-part-two-->
                    <div class="gradient_sbox">
                        <div class="gra_head">
                            <h1 class="clearfix pr">
                                <img src="../../images/icon/icon_tszn.gif" class="fl block"/><span class="fl">特色指南</span>
                                <a href="#" class="more">more</a>
                            </h1>
                        </div>
                        <div class="gra_body">
                        	
                        	<div class="mg_line mg_style2">
                                <ul class="t_box">
                                <c:forEach items="${teSeZhiNan}" var="c">
                                	<li>
                                    	<a href="${c.hyperlink }">${c.title}</a>
                                    </li>
                                </c:forEach>
                                </ul>
                        	</div>
                        </div>
                        <div class="gra_foot"></div>
                	</div>
                    <!-- left-part-two--end-->
                </div>
                <!-- left--end-->
                
               <!-- right-->
                <div class="t_rightbox">
                	<div class="gradient_sbox big_box com_gra">
                        <div class="gra_head"></div>
                        <div class="gra_body clearfix trip_h" id="daysList">
                          <c:forEach items="${daysList}" var="tripDay">
                        	<div class="j_detail_box">
					 	
                          
                            	<p class="clearfix title">第${tripDay.day}天</p>
                            	<input name="day" type="hidden" value="${tripDay.day}"/>
	                              <div class="out_box">
	                                  	<ul class="pt_box j_detail">
	                                  				<c:if test="${tripDay.day==1}">
	                                  					<c:forEach items="${trip.myTripDayList1}" var="day">
					                                        <li>
						                                        <div class="obj_trip">
							                                        <input name="image" type="hidden" value="${day.image}"/>
																	<input name="owner" type="hidden" value="${day.tripOwner}"/>
																	<input name="type" type="hidden" value="${day.tripOwnerType}"/>
																	<input name="objName" type="hidden" value="${day.objName}"/>
						                                            <a href="#" class="fl"><img src="${day.image}" class="block" style="width: 152px;height: 89px;" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')"/></a>
						                                              <div class="r_box">
							                                           <a href="#" class="check" onclick="seeMap('${day.tripOwner}','${day.tripOwnerType}')">查看地图</a>
							                                                <div class="clear"></div>
							                                                <a href="#" class="name" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">${day.objName}</a>
							                                                <p class="intro">${day.cutDescH}${day.cutDescS}${day.cutDescP}</p>
							                                                <p class="clearfix">
							                                               <a href="#" class="check_info" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">【查看详情】</a>
							                                                </p>
						                                              </div>
						                                       </div>
					                                        </li>
				                                        </c:forEach>
			                                        </c:if>
			                                        	<c:if test="${tripDay.day==2}">
	                                  					<c:forEach items="${trip.myTripDayList2}" var="day">
					                                        <li>
						                                        <div class="obj_trip">
							                                        <input name="image" type="hidden" value="${day.image}"/>
																	<input name="owner" type="hidden" value="${day.tripOwner}"/>
																	<input name="type" type="hidden" value="${day.tripOwnerType}"/>
																	<input name="objName" type="hidden" value="${day.objName}"/>
						                                            <a href="#" class="fl"><img src="${day.image}" class="block" style="width: 152px;height: 89px;" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')"/></a>
						                                              <div class="r_box">
							                                           <a href="#" class="check" onclick="seeMap('${day.tripOwner}','${day.tripOwnerType}')">查看地图</a>
							                                                <div class="clear"></div>
							                                                <a href="#" class="name" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">${day.objName}</a>
							                                               <p class="intro">${day.cutDescH}${day.cutDescS}${day.cutDescP}</p>
							                                                <p class="clearfix">
							                                               <a href="#" class="check_info" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">【查看详情】</a>
							                                                </p>
						                                              </div>
						                                       </div>
					                                        </li>
				                                        </c:forEach>
			                                        </c:if>
			                                        	<c:if test="${tripDay.day==3}">
	                                  					<c:forEach items="${trip.myTripDayList3}" var="day">
					                                         <li>
						                                        <div class="obj_trip">
							                                        <input name="image" type="hidden" value="${day.image}"/>
																	<input name="owner" type="hidden" value="${day.tripOwner}"/>
																	<input name="type" type="hidden" value="${day.tripOwnerType}"/>
																	<input name="objName" type="hidden" value="${day.objName}"/>
						                                            <a href="#" class="fl"><img src="${day.image}" class="block" style="width: 152px;height: 89px;" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')"/></a>
						                                              <div class="r_box">
							                                           <a href="#" class="check" onclick="seeMap('${day.tripOwner}','${day.tripOwnerType}')">查看地图</a>
							                                                <div class="clear"></div>
							                                                <a href="#" class="name" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">${day.objName}</a>
							                                               <p class="intro">${day.cutDescH}${day.cutDescS}${day.cutDescP}</p>
							                                                <p class="clearfix">
							                                               <a href="#" class="check_info" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">【查看详情】</a>
							                                                </p>
						                                              </div>
						                                       </div>
					                                        </li>
				                                        </c:forEach>
			                                        </c:if>
			                                             	<c:if test="${tripDay.day==4}">
	                                  					<c:forEach items="${trip.myTripDayList4}" var="day">
					                                         <li>
						                                        <div class="obj_trip">
							                                        <input name="image" type="hidden" value="${day.image}"/>
																	<input name="owner" type="hidden" value="${day.tripOwner}"/>
																	<input name="type" type="hidden" value="${day.tripOwnerType}"/>
																	<input name="objName" type="hidden" value="${day.objName}"/>
						                                            <a href="#" class="fl"><img src="${day.image}" class="block" style="width: 152px;height: 89px;" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')"/></a>
						                                              <div class="r_box">
							                                           <a href="#" class="check" onclick="seeMap('${day.tripOwner}','${day.tripOwnerType}')">查看地图</a>
							                                                <div class="clear"></div>
							                                                <a href="#" class="name" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">${day.objName}</a>
							                                               <p class="intro">${day.cutDescH}${day.cutDescS}${day.cutDescP}</p>
							                                                <p class="clearfix">
							                                               <a href="#" class="check_info" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">【查看详情】</a>
							                                                </p>
						                                              </div>
						                                       </div>
					                                        </li>
				                                        </c:forEach>
			                                        </c:if>
			                                                 	<c:if test="${tripDay.day==5}">
	                                  					<c:forEach items="${trip.myTripDayList5}" var="day">
					                                        <li>
						                                        <div class="obj_trip">
							                                        <input name="image" type="hidden" value="${day.image}"/>
																	<input name="owner" type="hidden" value="${day.tripOwner}"/>
																	<input name="type" type="hidden" value="${day.tripOwnerType}"/>
																	<input name="objName" type="hidden" value="${day.objName}"/>
						                                            <a href="#" class="fl"><img src="${day.image}" class="block" style="width: 152px;height: 89px;" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')"/></a>
						                                              <div class="r_box">
							                                           <a href="#" class="check" onclick="seeMap('${day.tripOwner}','${day.tripOwnerType}')">查看地图</a>
							                                                <div class="clear"></div>
							                                                <a href="#" class="name" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">${day.objName}</a>
							                                                <p class="intro">${day.cutDescH}${day.cutDescS}${day.cutDescP}</p>
							                                                <p class="clearfix">
							                                               <a href="#" class="check_info" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">【查看详情】</a>
							                                                </p>
						                                              </div>
						                                       </div>
					                                        </li>
				                                        </c:forEach>
			                                        </c:if>
			                                                   	<c:if test="${tripDay.day==6}">
	                                  					<c:forEach items="${trip.myTripDayList6}" var="day">
					                                           <li>
						                                        <div class="obj_trip">
							                                        <input name="image" type="hidden" value="${day.image}"/>
																	<input name="owner" type="hidden" value="${day.tripOwner}"/>
																	<input name="type" type="hidden" value="${day.tripOwnerType}"/>
																	<input name="objName" type="hidden" value="${day.objName}"/>
						                                            <a href="#" class="fl"><img src="${day.image}" class="block" style="width: 152px;height: 89px;" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')"/></a>
						                                              <div class="r_box">
							                                           <a href="#" class="check" onclick="seeMap('${day.tripOwner}','${day.tripOwnerType}')">查看地图</a>
							                                                <div class="clear"></div>
							                                                <a href="#" class="name" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">${day.objName}</a>
							                                                <p class="intro">${day.cutDescH}${day.cutDescS}${day.cutDescP}</p>
							                                                <p class="clearfix">
							                                               <a href="#" class="check_info" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">【查看详情】</a>
							                                                </p>
						                                              </div>
						                                       </div>
					                                        </li>
				                                        </c:forEach>
			                                        </c:if>
			                                        	<c:if test="${tripDay.day==7}">
	                                  					<c:forEach items="${trip.myTripDayList7}" var="day">
					                                        <li>
						                                        <div class="obj_trip">
							                                        <input name="image" type="hidden" value="${day.image}"/>
																	<input name="owner" type="hidden" value="${day.tripOwner}"/>
																	<input name="type" type="hidden" value="${day.tripOwnerType}"/>
																	<input name="objName" type="hidden" value="${day.objName}"/>
						                                            <a href="#" class="fl"><img src="${day.image}" class="block" style="width: 152px;height: 89px;" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')"/></a>
						                                              <div class="r_box">
							                                           <a href="#" class="check" onclick="seeMap('${day.tripOwner}','${day.tripOwnerType}')">查看地图</a>
							                                                <div class="clear"></div>
							                                                <a href="#" class="name" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">${day.objName}</a>
							                                                <p class="intro">${day.cutDescH}${day.cutDescS}${day.cutDescP}</p>
							                                                <p class="clearfix">
							                                               <a href="#" class="check_info" onclick="getHtml('${day.tripOwner}','${day.tripOwnerType}')">【查看详情】</a>
							                                                </p>
						                                              </div>
						                                       </div>
					                                        </li>
				                                        </c:forEach>
			                                        </c:if>
	                                	</ul>
	                        	  </div>
	                       
                      </div>
                      </c:forEach>
                        </div>
                        <div class="gra_foot"></div>
                	</div>
                </div>
                <!-- right--end-->
                <div class="clear"></div>
            </div>
        </div>
        <!-- content--end-->
        
        <!-- part2 -->
        <%-- <div class="w980 mg box_style1">
        	<div class="clearfix glo_width1">
            	<!-- left-->
                <div class="gradient_sbox">
                    <div class="gra_head">
                        <h1 class="clearfix pr">
                            <img src="../../images/icon/icon_gnxd.gif" class="fl block"/><span class="fl">攻略心得</span>
                            <a href="#" class="more">more</a>
                        </h1>
                    </div>
                    <div class="gra_body">
                        <ul class="gn_th">
                         <c:forEach items="${gongLvXinDe }" var="c">
                            <li>
                            	<span>2012-05-18</span>
                                <a href="#">${c.content}</a>
                            </li>
                          </c:forEach>  
                        </ul>
                    </div>
                    <div class="gra_foot"></div>
                 </div>
                 <!-- left--end-->
                 
                 <!-- second-->
                 <div class="gradient_sbox other_gra1 gra_mgl_one">
                    <div class="gra_head">
                        <h1 class="clearfix pr">
                            <img src="../../images/icon/icon_bzrp.gif" class="fl block"/><span class="fl">本周热评</span>
                            <a href="#" class="more">more</a>
                        </h1>
                    </div>
                    <div class="gra_body">
                        <ul class="hot_comment_view">
	                        <c:forEach items="${benZhouRePing}" var="c">
	                        	<li>
	                            	<a href="#" class="fl"><img src="${c.picture }" class="block" width="115px;" height="57px"/></a>
	                                <div class="content">
	                                	<a href="#">${c.title}</a>
	                                    <!-- <p><span class="fr clr666">852条点评</span></p> -->
	                                </div>
	                            </li>
	                         </c:forEach>
                        </ul>
                    </div>
                    <div class="gra_foot"></div>
                 </div>
                 <!-- second--end-->
                 
                 <!-- third -->
                 <div class="gradient_sbox other_gra1 fr">
                    <div class="gra_head">
                        <h1 class="clearfix pr">
                            <img src="../../images/icon/icon_jcrp.gif" class="fl block"/><span class="fl">精彩热评</span>
                            <a href="#" class="more">more</a>
                        </h1>
                    </div>
                    <div class="gra_body">
                        <ul class="comment_1">
	                        <c:forEach items="${jingCaiRePing}" var="c">
	                        	<li>
	                            	<p><a href="#" class="mr10">${c.author}</a> 评价 <a href="#" class="ml5 mr5 clrblue2">${c.title }</a>：</p>
	                                <p>${c.content}</p>
	                            </li>
	                        </c:forEach>
                        </ul>
                    </div>
                    <div class="gra_foot"></div>
                 </div>
                 <!-- third --end-->
             </div>
        </div>
        <!-- part2--end-->
        
        <!-- fullpart-->
        <div class="w980 mg box_style1">
        	<div class="gradient_sbox full_gra">
                <div class="gra_head">
                    <h1 class="clearfix pr">
                        <img src="../../images/icon/icon_rmjqtj.gif" class="fl block"/><span class="fl">热门推荐</span>
                        <a href="#" class="more">more</a>
                    </h1>
                </div>
                <div class="gra_body">
                    <div class="sk_tj_box">
                    	<div class="sk_tj_pic clearfix">
                            <ul>
                            	<c:forEach items="${reMenTuiJian }" var="c" begin="0" end="3">
	                            	<li>
	                            	<a href="${c.hyperlink }" target="_blank" class="block"><img src="${c.picture }" style="width: 230px;height: 115px" class="block" /></a>
	                           		 </li>
                                </c:forEach>
                            </ul>
                        </div>
                        <div class="sk_tj_pic clearfix">
                            <ul>
                            	<c:forEach items="${reMenTuiJian }" var="c" begin="4" end="8">
	                            	<li>
	                                	<a href="${c.hyperlink} ">${c.title}</a>
	                                </li>
                                </c:forEach>
                            </ul>
                        </div>
                        <div class="sk_tj_pic clearfix">
                            <ul>
                            	<c:forEach items="${reMenTuiJian }" var="c" begin="9" end="13">
	                            	<li>
	                                	<a href="${c.hyperlink} ">${c.title}</a>
	                                </li>
                                </c:forEach>
                            </ul>
                        </div>
                        <div class="sk_tj_pic clearfix">
                            <ul>
                            	<c:forEach items="${reMenTuiJian }" var="c" begin="14" end="18">
	                            	<li>
	                                	<a href="${c.hyperlink} ">${c.title}</a>
	                                </li>
                                </c:forEach>
                               
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="gra_foot"></div>
            </div>
        </div> --%>
        <!-- fullpart--end-->
        
        
        <!-- part3 -->
       <!--  <div class="w980 mg box_style1 other_gz">
        	<div class="gz_box">
            	<span class="fl">关注爽客：</span>
                <a href="#" class="fl"><img src="../../images/smallpic/xl_wb.gif" class="block" /></a>
                <a href="#" class="fl"><img src="../../images/smallpic/tx_wb.gif" class="block" /></a>
                <a href="#" class="fl"><img src="../../images/smallpic/xl_bk.gif" class="block" /></a>           
                <a href="#" class="fl"><img src="../../images/smallpic/tx_bk.gif" class="block" /></a> 
                <span class="fl gz_phone">下载手机客户端：</span>
                <a href="#" class="fl"><img src="../../images/smallpic/apple1.gif" class="block" /></a> 
                <a href="#" class="fl"><img src="../../images/smallpic/android1.gif" class="block" /></a>            </div>
      	</div> -->
        <!-- part3--end-->
                
        <!-- help-->
         <div class="w980 mg box_style1">
        	<c:forEach items="${help }" var="c">
        		${c.content}
        	</c:forEach>
        </div>
        <!-- help--end-->
        
    </div>
    <!-- content--end-->
    <!-- foot-->
	    <%@include file="../common/footer.jsp" %>
	    <!-- foot--end-->
<script language="javascript">

  function seeMap(owner,type){
		window.open ("seeMap.htm?owner="+owner+"&type="+type);
	}
	function getHtml(owner,type){
		if(type=='att'){
			window.open ("scenic.htm?id="+owner);
		}else if(type=='hotel'){
			window.open ("hotel.htm?id="+owner);
		}
		else if(type=='product'){
			window.open ("product.htm?id="+owner);
		}
	}
	function tripV(id){
		window.location.href="tripV.htm?id="+id;
	}
	function myTrip(){
		if(COOL.checkLogin()){ 
			window.location.href="myTrip.htm";
		 }else{ 
			COOL.memberLogin();
		 } 
	}
</script>
</body>
</html>
